package com.cos.studentsys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author cos
 * @since 2022-03-29
 */
public class RcCourse extends Model<RcCourse> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "course_id", type = IdType.AUTO)
    private Integer courseId;

    private Integer courseTeacherId;

    private String courseName;

    private Integer courseGrade;

    private String courseTime;

    private String courseLocation;

    private Integer courseCredit;

    private Integer courseSelectedCount;

    private Integer courseMaxSize;

    private Date courseExamDate;

    private String courseExamLocation;

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }
    public Integer getCourseTeacherId() {
        return courseTeacherId;
    }

    public void setCourseTeacherId(Integer courseTeacherId) {
        this.courseTeacherId = courseTeacherId;
    }
    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }
    public Integer getCourseGrade() {
        return courseGrade;
    }

    public void setCourseGrade(Integer courseGrade) {
        this.courseGrade = courseGrade;
    }
    public String getCourseTime() {
        return courseTime;
    }

    public void setCourseTime(String courseTime) {
        this.courseTime = courseTime;
    }
    public String getCourseLocation() {
        return courseLocation;
    }

    public void setCourseLocation(String courseLocation) {
        this.courseLocation = courseLocation;
    }
    public Integer getCourseCredit() {
        return courseCredit;
    }

    public void setCourseCredit(Integer courseCredit) {
        this.courseCredit = courseCredit;
    }
    public Integer getCourseSelectedCount() {
        return courseSelectedCount;
    }

    public void setCourseSelectedCount(Integer courseSelectedCount) {
        this.courseSelectedCount = courseSelectedCount;
    }
    public Integer getCourseMaxSize() {
        return courseMaxSize;
    }

    public void setCourseMaxSize(Integer courseMaxSize) {
        this.courseMaxSize = courseMaxSize;
    }
    public Date getCourseExamDate() {
        return courseExamDate;
    }

    public void setCourseExamDate(Date courseExamDate) {
        this.courseExamDate = courseExamDate;
    }
    public String getCourseExamLocation() {
        return courseExamLocation;
    }

    public void setCourseExamLocation(String courseExamLocation) {
        this.courseExamLocation = courseExamLocation;
    }

    @Override
    protected Serializable pkVal() {
        return this.courseId;
    }

    @Override
    public String toString() {
        return "RcCourse{" +
            "courseId=" + courseId +
            ", courseTeacherId=" + courseTeacherId +
            ", courseName=" + courseName +
            ", courseGrade=" + courseGrade +
            ", courseTime=" + courseTime +
            ", courseLocation=" + courseLocation +
            ", courseCredit=" + courseCredit +
            ", courseSelectedCount=" + courseSelectedCount +
            ", courseMaxSize=" + courseMaxSize +
            ", courseExamDate=" + courseExamDate +
            ", courseExamLocation=" + courseExamLocation +
        "}";
    }
}
